Nevron Open Vision Documentation
Nevron.Nov.Text Namespace / NEncoding Class / GetChars Method / GetChars(Byte[],Int32,Int32,Char[],Int32) Method
The array of bytes to convert to chars.
The starting index in the byte array to start working from.
The number of bytes to convert.
The array of chars to fill with the decoded chars.
The index in the char array at which to start placing the decoded chars.


In This Topic
    GetChars(Byte[],Int32,Int32,Char[],Int32) Method
    In This Topic
    Decodes "byteCount" bytes from the given byte array, starting from the byte at index "byteIndex" and puts them in the specified char array, starting from "charIndex".
    Syntax
    'Declaration
     
    
    Public Overloads MustOverride Function GetChars( _
       ByVal bytes() As System.Byte, _
       ByRef byteIndex As System.Integer, _
       ByVal byteCount As System.Integer, _
       ByVal chars() As System.Char, _
       ByVal charIndex As System.Integer _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NEncoding
    Dim bytes() As System.Byte
    Dim byteIndex As System.Integer
    Dim byteCount As System.Integer
    Dim chars() As System.Char
    Dim charIndex As System.Integer
    Dim value As System.Integer
     
    value = instance.GetChars(bytes, byteIndex, byteCount, chars, charIndex)
    public abstract System.int GetChars( 
       System.byte[] bytes,
       ref System.int byteIndex,
       System.int byteCount,
       System.char[] chars,
       System.int charIndex
    )

    Parameters

    bytes
    The array of bytes to convert to chars.
    byteIndex
    The starting index in the byte array to start working from.
    byteCount
    The number of bytes to convert.
    chars
    The array of chars to fill with the decoded chars.
    charIndex
    The index in the char array at which to start placing the decoded chars.

    Return Value

    The number of chars inserted at char index.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also